﻿<UserControl x:Class="Kinect.DepthViewer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <WrapPanel Orientation="Horizontal">
        <StackPanel Orientation="Vertical">
            <Image Name="kinectDepthImage" Width="640" Height="480" MouseLeftButtonDown="kinectDepthImage_MouseLeftButtonDown" />
            <TextBlock FontSize="36" HorizontalAlignment="Center" Name="PointDepthPersentage" Text="Please Pick A Point" /> 
                <Button Content="计算平面" Name="btnCalcPlane" Click="btnCalcPlane_Click"/>
                <TextBlock Name="textPlane" Width="640" Text="TAT"/> 
            <Label Content="" Height="28" Name="labelTmp" />  
        </StackPanel>
    </WrapPanel>
</UserControl>
